package com.ruoyi.system.service;

import java.util.List;
import com.ruoyi.system.domain.OmsOrderProduct;

/**
 * 订单-商品关联Service接口
 * 
 * @author ruoyi
 * @date 2024-11-29
 */
public interface IOmsOrderProductService 
{
    /**
     * 查询订单-商品关联
     * 
     * @param omsOrderProductId 订单-商品关联主键
     * @return 订单-商品关联
     */
    public OmsOrderProduct selectOmsOrderProductByOmsOrderProductId(Long omsOrderProductId);

    /**
     * 查询订单-商品关联列表
     * 
     * @param omsOrderProduct 订单-商品关联
     * @return 订单-商品关联集合
     */
    public List<OmsOrderProduct> selectOmsOrderProductList(OmsOrderProduct omsOrderProduct);

    /**
     * 新增订单-商品关联
     * 
     * @param omsOrderProduct 订单-商品关联
     * @return 结果
     */
    public int insertOmsOrderProduct(OmsOrderProduct omsOrderProduct);

    /**
     * 修改订单-商品关联
     * 
     * @param omsOrderProduct 订单-商品关联
     * @return 结果
     */
    public int updateOmsOrderProduct(OmsOrderProduct omsOrderProduct);

    /**
     * 批量删除订单-商品关联
     * 
     * @param omsOrderProductIds 需要删除的订单-商品关联主键集合
     * @return 结果
     */
    public int deleteOmsOrderProductByOmsOrderProductIds(Long[] omsOrderProductIds);

    /**
     * 删除订单-商品关联信息
     * 
     * @param omsOrderProductId 订单-商品关联主键
     * @return 结果
     */
    public int deleteOmsOrderProductByOmsOrderProductId(Long omsOrderProductId);
}
